<?php
return [
    'app_id'        => env('wechat.app_id', ''),
    'secret'        => env('wechat.secret', ''),
    // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
     'response_type' => 'array',
    // 缓存 目录为 `runtime/wechat.log`
     'log'           => [
        'level' => 'debug',
        'file'  => app()->getRuntimePath() . '/wechat.log',
    ],
    // V2 支付配置
     'pay'           => [
        'mch_id'     => env('wechat.mch_id', ''),
        // V2 密钥
         'v2_key'     => env('wechat.v2_key', ''),
        // 绝对路径
         'cert_path'  => app()->getRuntimePath() . '/cert/cert.pem',
        // 绝对路径
         'key_path'   => app()->getRuntimePath() . '/cert/key.pem',
        // 异步通知地址
         'notify_url' => app()->request->scheme() . '://' . app()->request->host() . '/api/wechat/notify',
    ],
];
